home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / Mesa-1.2.1 / contrib / gle.2.1 / demo / basic / Makefile < prev   
Encoding:
Makefile  |  1995-07-05  |  618 b   |  30 lines

  1.  
  2. # location of GLUT .h and .a files
  3. GLUTINC = ../../../../GLUT/GL/
  4. GLUTLIB = ../../../../GLUT/lib/glut/
  5.  
  6. # location of GLE .h and .a files
  7. GLEINC= ../../include
  8. GLELIB= ../../lib
  9.  
  10. # location of Mesa .h and .a files
  11. GLINC= ../../../../include
  12. GLLIB= ../../../../lib
  13.  
  14. CC = cc
  15. CFLAGS = -I. -I$(GLUTINC)  -I$(GLEINC) -I$(GLINC)
  16. LFLAGS = -L $(GLUTLIB) -L $(GLELIB) -L $(GLLIB)
  17. LIBS = -lgle -lmatrix -lglut -lMesaGLU -lMesaGL -lXmu -lX11 -lXext -lm
  18.  
  19. .c.o:
  20.     $(CC) -c $< $(CFLAGS)
  21.  
  22. cylinder:    cylinder.o
  23.     $(CC) cylinder.o -o cylinder $(LFLAGS) $(LIBS)
  24.  
  25. clean:
  26.     -rm -f *.o core junk tmp a.out
  27.  
  28. realclean:    clean
  29.     -rm -f cylinder
  30.